﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;

public class AnimatorRoot : MonoBehaviour
{
    public Data[] actions;

    [System.Serializable]
    public struct Data
    {
        public string key;
        [Space]
        public UnityEvent action;
    }

    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        
    }

    public void Invoke(int index)
    { 
    }
}
